<h3><?php echo $caption ?></h3>
<p style='color: red'><?php echo $error ?></p>
<form action="<?php echo url_for('report/index?day='.$day.'&memid='.$memid) ?>" method="POST" enctype="multipart/form-data">
<table>
<?php echo $form ?>
<tr>
<td colspan="2">
<input type="submit" />
</td>
</tr>
</table>
</form>
<hr/>